package com.lyy.yygh.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyy.yygh.model.cmn.Dict;
import com.lyy.yygh.model.hosp.HospitalSet;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DictService extends IService<Dict> {
    //根据id查询子数据
    List<Dict> findChildrenData(Long id);

    //导出数据字典
    void exportData(HttpServletResponse response);

    //根据dictcode和value查询dictname
    String getDictName(String s, String value);

    List<Dict> findByDictCode(String dictCode);

    void importData(MultipartFile file);
}
